package site.zbox.tool.swing;

import java.awt.Window;

import javax.swing.JDialog;

import site.zbox.tool.lang.Version;

@Version("2012-11-15")
public abstract class AbstractDialog extends JDialog
{
    private static final long serialVersionUID = 1308842834850L;

    public void addOwnedWindow(final Window child)
    {
        SwingUtils.addOwnedWindow(this, child);
    }

    public void removeOwnedWindow(final Window child)
    {
        SwingUtils.removeOwnedWindow(this, child);
    }
}
